import { ContentApiClient, HaloRestAPIClient } from '@halo-dev/content-api';

const baseUrl = 'https://www.hecongshen.top';

// 创建 halo http 请求客户端
const haloRestApiClient = new HaloRestAPIClient({
  baseUrl,
  auth: { apiToken: '854223403' },
});
// 通过 http 客户端创建 halo 前台 api 客户端
const haloContentClient = new ContentApiClient(haloRestApiClient);

export default haloContentClient;
